<span class="pagination">

	<?php if ($first_page !== FALSE): ?>
		<span style="float:left;"><a href="<?php echo $page->url($first_page) ?>" ><?php echo html::image('media/img/first.png',array('title'=>i18n::get('first_page'),'alt'=>i18n::get('next_page'))) ?></a></span>
	<?php else: ?>
		<span style="float:left;"><?php echo html::image('media/img/first_blank.png',array('title'=>i18n::get('first_page'),'alt'=>i18n::get('next_page'))) ?></span>
	<?php endif ?>

	<?php if ($previous_page !== FALSE): ?>
		<span style="float:left;"><a href="<?php echo $page->url($previous_page) ?>"><?php echo html::image('media/img/prev.png',array('title'=>i18n::get('prev_page'),'alt'=>i18n::get('prev_page'))) ?></a></span>
	<?php else: ?>
		<span style="float:left;"><?php echo html::image('media/img/prev_blank.png',array('title'=>i18n::get('prev_page'),'alt'=>i18n::get('prev_page'))) ?></span>
	<?php endif ?>

	<?php for ($i = 1; $i <= $total_pages; $i++): ?>

		<?php if ($i == $current_page): ?>
			<span class="pagin-el-curr"><?php echo $i ?></span>
		<?php else: ?>
			<span class="pagin-el-page"><a href="<?php echo $page->url($i) ?>"><?php echo $i ?></a></span>
		<?php endif ?>

	<?php endfor ?>

	<?php if ($next_page !== FALSE): ?>
		<span style="float:left;"><a href="<?php echo $page->url($next_page) ?>" style="float:left;"><?php echo html::image('media/img/next.png',array('title'=>i18n::get('next_page'),'alt'=>i18n::get('next_page'))) ?></a></span>
	<?php else: ?>
		<span style="float:left;"><?php echo html::image('media/img/next_blank.png',array('title'=>i18n::get('next_page'),'alt'=>i18n::get('next_page'))) ?></span>
	<?php endif ?>

	<?php if ($last_page !== FALSE): ?>
		<span style="float:left;"><a href="<?php echo $page->url($last_page) ?>"><?php echo html::image('media/img/last.png',array('title'=>i18n::get('last_page'),'alt'=>i18n::get('next_page'))) ?></a></span>
	<?php else: ?>
		<span style="float:left;"><?php echo html::image('media/img/last_blank.png',array('title'=>i18n::get('last_page'),'alt'=>i18n::get('next_page'))) ?></span>
	<?php endif ?>

</span><!-- .pagination -->